﻿#include "common.h";

// 字符串补足
string padStart(string str, int max, char c) {
	string result = str;
	while (result.size() < max) {
		result = c + str;
	}

	return result;
}